FolderItem.GetSaveInfo Function

Returns a String. Allows saving FolderItem references without relying on the absolute path.

Syntax

result = FolderItem.GetSaveInfo( RelativeTo, Mode )

Parameters

RelativeTo

FolderItem

Mode

Integer

Return Value

Result

String

Notes

The returned string indicates a relative path with is relative to the folder passed in RelativeTo.

The Class Constants and values (in parentheses) for Mode are:

SaveInfoDefaultMode (0): The FolderItem should be open in any way REALbasic can possibly create it. This is the Default value.

SaveInfoRelativeMode (1): The FolderItem should only be opened using relative path information.

SaveInfoAbsoluteMode (2): The FolderItem should only be opened using absolute path information.

Note: The returned string is not intended to be human-readable and any modifications may render it useless.